package com.ruoyi.crop.api.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 班次表
 * @TableName src_class_around
 */
@TableName(value ="src_class_around")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClassAround implements Serializable {
    /**
     * 班次id
     */
    @TableId(type = IdType.AUTO)
    private Integer aroundId;

    /**
     * 班次名称
     */
    private String aroundName;

    /**
     *
     */
    @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    private String beginTime;

    /**
     *
     */
    @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    private String endTime;

    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private String createBy;

    /**
     *
     */
    private Date updateTime;

    /**
     *
     */
    private String updateBy;

    /**
     *
     */
    private String remark;

    /**
     * 逻辑删除
     */
    private Integer delFlag;
    @TableField(exist = false)
    private Integer aroundType;
    @TableField(exist = false)
    private Integer aroundSize;
    @TableField(exist = false)
    private Integer planId;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
